http://msdn.microsoft.com/en-us/library/ms190329(SQL.90).aspx
Returns the number of bytes used to represent any expression.
SQLs:
DECLARE @STR VARCHAR(32);
SET @STR = ’12 ‘
SELECT LEN(@STR) — 2
SELECT DATALENGTH(@STR); –6
从一条微博看有失水准的科技新闻 <->
// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.